using System;
using FBGraph.Models;

namespace FBGraph.Controllers
{
    /// <summary>The photos, videos, and posts in which this user has been tagged. Requires the user_photo_tags, user_video_tags, friend_photo_tags, or friend_video_tags permissions</summary>
    public partial class TaggedController : FBGraphController, IFBGraphConnectionController<Post>
    {
        /// <summary>Initializes an instance of <see cref="TaggedController" />.</summary>
        public TaggedController(IFBGraphContext context)
            : base(context)
        {
        }
        
        /// <summary>Gets the name of the connection the <see cref="TaggedController" /> handles requests for.</summary>
        String IFBGraphConnectionController<Post>.ConnectionName
        {
            get
            {
                return "tagged";
            }
        }
    }
}